package com.autumn.mybatis.criterion.impl;

import java.util.ArrayList;
import java.util.List;

import com.autumn.mybatis.criterion.ISpecifyUpdateSection;
import com.autumn.mybatis.criterion.LockModeEnum;
import com.autumn.mybatis.criterion.clauses.SpecifyUpdateClause;

/**
 * 条件更新段
 * 
 * @author 老码农
 *
 *         2017-10-30 18:37:50
 */
public class SpecifyUpdateSectionImpl extends CriteriaSectionImpl implements ISpecifyUpdateSection {

	/**
	 * 获取排序集合
	 * 
	 * @return
	 */
	private final List<SpecifyUpdateClause> updateClauses;

	public SpecifyUpdateSectionImpl(LockModeEnum lockMode) {
		super(lockMode);
		this.updateClauses = new ArrayList<>();
	}

	@Override
	public List<SpecifyUpdateClause> getUpdateClauses() {
		return this.updateClauses;
	}

}
